import bio from "@/api/axios";
export default {
  // 根据个体id查询生物归档信息/archive/v1/query/{bionId}
  getQuery(params) {
    return bio.get(`/bion/archive/v1/query/${params}`)
  },

  // 根据品种查询/v1/bion/queryBionAll/{breed}
  getQueryBionAll(params) {
    return bio.get(`/bion/v1/bion/queryBionAll/${params}`)
  },

  // 批量查询配种记录/raise/v1/queryByRaiseRecordIdList
  getQueryByIdList(params) {
    return bio.post('/raise/v1/queryByRaiseRecordIdList', params)
  },
  // 根据耳标查询基本信息
  getEagTag(params) {
    return bio.get(`/bion/v1/bion/queryBionByEagTag/${params.breed}/${params.eagTag}`)
  }

}
